﻿@model NoPapel.UI.MVC.Models.Post

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>ViewPost</title>
</head>
<body>
    <fieldset>
        <legend>Post</legend>
    
        <div class="display-label">Title</div>
        <div class="display-field">@Model.Title</div>
    
        <div class="display-label">Content</div>
        <div class="display-field">@Model.Content</div>
    
        <div class="display-label">PublishDate</div>
        <div class="display-field">@String.Format("{0:g}", Model.PublishDate)</div>
    </fieldset>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
        @Html.ActionLink("Back to List", "Index")
    </p>
</body>
</html>

